#ifndef TIMEWOKERTHREAD_H
#define TIMEWOKERTHREAD_H
#include "head.h"

/**
* createtime:20230711
* 线程使用：通知信息外发
*/

class TimeWokerThread:public QThread
{
    Q_OBJECT
public:
    explicit TimeWokerThread();
    void stop();
protected:
    void run() override;

signals:
    void resultNotify(int sec);

private:
    volatile bool isStopped;
};

#endif // TIMEWOKERTHREAD_H
